<?php

namespace app\index\model;

use think\Model;

class Line extends Model
{
    //
    protected $table = 'line';

    //插入数据
    public function dataInsert($data){
        $res = self::allowField(true)->save($data);
        if($res){
            return true;
        }else{
            return false;
        }
    }
}
